package photobox.account

class PublicizeImg {
    String name
    String photoPath
    String linkurl
    Integer isShow
//    String location

    static final int IS_SHOW_NO = 0
    static final int IS_SHOW_YES = 1

//    static final String LOCATION_LOG = "LOG"
//    static final String LOCATION_GDT = "滚动图"

    static mapping = {
        table  'acc_publicize_img'
    }
    static constraints = {
        isShow inList: [IS_SHOW_NO,IS_SHOW_YES]
//       location inList: [LOCATION_LOG,LOCATION_GDT]
    }
}
